#include "dominion.h"
#include "dominion_helpers.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


int unittest4(){

	int i;
	int seed = 1000;
	int numPlayer = 2;
	int testhand_count1, testhand_count2;
	int testbuys1, testbuys2;
	int handPos, choice1, choice2, choice3;
	int bonus;
	int k[10] = {council_room, great_hall, feast, gardens, mine, remodel, smithy, adventurer, baron, village};
	struct gameState G;
	int maxHandCount = 5;

	memset(&G, 0, sizeof(struct gameState));
	initializeGame(numPlayer, k, seed, &G);

	G.handCount[0] = 9;
	drawCard(0, &G);
	drawCard(0, &G);
	drawCard(0, &G);


	testhand_count1 = numHandCards(&G);

	if(testhand_count1 == 12)
		printf("drawCard passes\n");
	else
		printf("drawCard fails\n");


	return 0;
}